﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Prism.Games.GalEngine.Scripts.Data.ResourceCollection;
using Prism.Games.GalEngine.Scripts.FunctionModel;

namespace Prism.Games.GalEngine.Scripts
{
    /// <summary>
    /// 表示一个脚本。
    /// </summary>
    [Serializable]
    public class ContentsRoot
    {
        public ContentsRoot()
        {
            this.Resource = new GameResource();

            this.Sections = new SectionCollection();

            this.GameName = "NewGame";
            this.NativeResolutionWidth = 1280;
            this.NativeResolutionHeight = 720;
            this.Version = "0.0.0.0";
        }

        public SectionCollection Sections { get; set; }

        public GameResource Resource { get; set; }

        public string GameName { get; set; }

        public int NativeResolutionHeight { get; set; }

        public int NativeResolutionWidth { get; set; }

        public string Version { get; set; }

    }
}
